package com.woniuxy.dr_mall.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.dr_mall.entity.DrManagerMenu;
import org.apache.ibatis.annotations.Insert;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 张哲轩
 * @since 2021-08-11
 */
public interface DrManagerMenuMapper extends BaseMapper<DrManagerMenu> {
    /**
     *
     * @param id
     * @param menuId
     */
    @Insert("insert into dr_manager_menu(managerId,menuId) values(#{managerId},#{menuId})")
    void add(Integer managerId, Integer menuId);
}
